<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<!--[if lt IE 9]>
    <script src="jquery-1.9.0.js"></script>
<![endif]-->
		<!--[if gte IE 9]><!-->
		<script src="../js/jquery-3.1.1.js"></script>
		<!--<![endif]-->
		<script type="text/javascript">
			$(document).ready(function() {
				$("tr:even").css("background-color", "yellow");
				$("tr:odd").css("background-color", "deepskyblue");
			}); //偶数行换颜色
		</script>
	</head>

	<body>
		<h1>欢迎访问我的主页</h1>

		<table border="1">
			<tr>
				<th>网站名</th>
				<th>网址</th>
			</tr>
			<tr>
				<td>Google</td>
				<td>http://www.google.com</td>
			</tr>
			<tr>
				<td>Baidu</td>
				<td>http://www.baidu.com</td>
			</tr>
			<tr>
				<td>菜鸟教程</td>
				<td>http://www.runoob.com</td>
			</tr>
			<tr>
				<td>淘宝</td>
				<td>http://www.taobao.com</td>
			</tr>
			<tr>
				<td>Facebook</td>
				<td>http://www.facebook.com</td>
			</tr>
		</table>

	</body>

</html>